package hcn.response.bean;


import lombok.ToString;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @program: 3.4.02
 * @description: 院内会诊接受his请求体
 * @author: zangsf
 * @create: 2021-08-24 15:17
 **/
@ToString
@XmlRootElement(name = "Data")
public class QueryHosConsultRecordRepHisBean implements Serializable {
    private List<QueryHosConsultRecordHisBean>  queryHosConsultRecordHisBean;

    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    public List<QueryHosConsultRecordHisBean> getQueryHosConsultRecordHisBean() {
        return queryHosConsultRecordHisBean;
    }

    public void setQueryHosConsultRecordHisBean(List<QueryHosConsultRecordHisBean> queryHosConsultRecordHisBean) {
        this.queryHosConsultRecordHisBean = queryHosConsultRecordHisBean;
    }
    @ToString
    public static  class  QueryHosConsultRecordHisBean{
        private String VisitOrganization; //机构代码
        private String SourcePatientId;    //业务系统患者档案ID
        private String IdCard;              //身份证件号码
        private String Name;               //患者姓名
        private String Sex;//性别代码
        private String Age;//年龄（岁）
        private String ClinicId;//门（急）诊号
        private String HospizationId;//住院号码
        private String DiagnoseName;//诊断信息
        private String ElectronicRequestNoteId;//会诊单id
        private String ElectronicRequestNoteNo;//会诊单号
        private String Status;//会诊状态
        private String ConsultationType;//1门诊 2住院
        private String IsEmergency;//紧急标志
        private String DepartmentId;//申请科室代码
        private String DepartmentName;//申请科室名称
        private String DoctorId;//申请医生代码
        private String DoctorName;//申请医生名称
        private String ConsultationApplyDateTime;//申请时间
        private String ConsultationPurpose;//会诊目的
        private String TreatmentProcess;//患者病情及诊疗情况
        private List<ConsultantList> ConsultantLists;//会诊受邀者List

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "SourcePatientId")
        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }

        @XmlElement(name = "IdCard")
        public String getIdCard() {
            return IdCard;
        }

        public void setIdCard(String idCard) {
            IdCard = idCard;
        }

        @XmlElement(name = "Name")
        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        @XmlElement(name = "Sex")
        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        @XmlElement(name = "Age")
        public String getAge() {
            return Age;
        }

        public void setAge(String age) {
            Age = age;
        }

        @XmlElement(name = "ClinicId")
        public String getClinicId() {
            return ClinicId;
        }

        public void setClinicId(String clinicId) {
            ClinicId = clinicId;
        }

        @XmlElement(name = "HospizationId")
        public String getHospizationId() {
            return HospizationId;
        }

        public void setHospizationId(String hospizationId) {
            HospizationId = hospizationId;
        }

        @XmlElement(name = "DiagnoseName")
        public String getDiagnoseName() {
            return DiagnoseName;
        }

        public void setDiagnoseName(String diagnoseName) {
            DiagnoseName = diagnoseName;
        }

        @XmlElement(name = "ElectronicRequestNoteId")
        public String getElectronicRequestNoteId() {
            return ElectronicRequestNoteId;
        }

        public void setElectronicRequestNoteId(String electronicRequestNoteId) {
            ElectronicRequestNoteId = electronicRequestNoteId;
        }

        @XmlElement(name = "ElectronicRequestNoteNo")
        public String getElectronicRequestNoteNo() {
            return ElectronicRequestNoteNo;
        }

        public void setElectronicRequestNoteNo(String electronicRequestNoteNo) {
            ElectronicRequestNoteNo = electronicRequestNoteNo;
        }

        @XmlElement(name = "Status")
        public String getStatus() {
            return Status;
        }

        public void setStatus(String status) {
            Status = status;
        }

        @XmlElement(name = "ConsultationType")
        public String getConsultationType() {
            return ConsultationType;
        }

        public void setConsultationType(String consultationType) {
            ConsultationType = consultationType;
        }

        @XmlElement(name = "IsEmergency")
        public String getIsEmergency() {
            return IsEmergency;
        }

        public void setIsEmergency(String isEmergency) {
            IsEmergency = isEmergency;
        }

        @XmlElement(name = "DepartmentId")
        public String getDepartmentId() {
            return DepartmentId;
        }

        public void setDepartmentId(String departmentId) {
            DepartmentId = departmentId;
        }

        @XmlElement(name = "DepartmentName")
        public String getDepartmentName() {
            return DepartmentName;
        }

        public void setDepartmentName(String departmentName) {
            DepartmentName = departmentName;
        }

        @XmlElement(name = "DoctorId")
        public String getDoctorId() {
            return DoctorId;
        }

        public void setDoctorId(String doctorId) {
            DoctorId = doctorId;
        }

        @XmlElement(name = "DoctorName")
        public String getDoctorName() {
            return DoctorName;
        }

        public void setDoctorName(String doctorName) {
            DoctorName = doctorName;
        }

        @XmlElement(name = "ConsultationApplyDateTime")
        public String getConsultationApplyDateTime() {
            return ConsultationApplyDateTime;
        }

        public void setConsultationApplyDateTime(String consultationApplyDateTime) {
            ConsultationApplyDateTime = consultationApplyDateTime;
        }

        @XmlElement(name = "ConsultationPurpose")
        public String getConsultationPurpose() {
            return ConsultationPurpose;
        }

        public void setConsultationPurpose(String consultationPurpose) {
            ConsultationPurpose = consultationPurpose;
        }

        @XmlElement(name = "TreatmentProcess")
        public String getTreatmentProcess() {
            return TreatmentProcess;
        }

        public void setTreatmentProcess(String treatmentProcess) {
            TreatmentProcess = treatmentProcess;
        }

        @XmlElementWrapper(name = "ConsultantLists")
        @XmlElement(name = "ConsultantList")
        public List<ConsultantList> getConsultantLists() {
            return ConsultantLists;
        }

        public void setConsultantLists(List<ConsultantList> consultantLists) {
            ConsultantLists = consultantLists;
        }
        @ToString
        public static class ConsultantList {
            private String ConsultationOrganization;//会诊机构代码
            private String ConsultationOrganizationName;//会诊机构名称
            private String ConsultantType;//会诊者类别
            private String ConsultationDoctorId;//会诊医生代码
            private String ConsultationDoctorName;//会诊医生名称
            private String ConsultationDepartmentId;//会诊科室代码
            private String ConsultationDepartmentName;//会诊科室名称
            private String ConsultationOpinionId;//会诊意见id
            private String ConsultationOpinion;//会诊意见
            private String ConsultationDateTime;//会诊时间

            @XmlElement(name = "ConsultationOpinionId")
            public String getConsultationOpinionId() {
                return ConsultationOpinionId;
            }

            public void setConsultationOpinionId(String consultationOpinionId) {
                ConsultationOpinionId = consultationOpinionId;
            }

            @XmlElement(name = "ConsultationOrganization")
            public String getConsultationOrganization() {
                return ConsultationOrganization;
            }

            public void setConsultationOrganization(String consultationOrganization) {
                ConsultationOrganization = consultationOrganization;
            }

            @XmlElement(name = "ConsultationOrganizationName")
            public String getConsultationOrganizationName() {
                return ConsultationOrganizationName;
            }

            public void setConsultationOrganizationName(String consultationOrganizationName) {
                ConsultationOrganizationName = consultationOrganizationName;
            }

            @XmlElement(name = "ConsultantType")
            public String getConsultantType() {
                return ConsultantType;
            }

            public void setConsultantType(String consultantType) {
                ConsultantType = consultantType;
            }

            @XmlElement(name = "ConsultationDoctorId")
            public String getConsultationDoctorId() {
                return ConsultationDoctorId;
            }

            public void setConsultationDoctorId(String consultationDoctorId) {
                ConsultationDoctorId = consultationDoctorId;
            }

            @XmlElement(name = "ConsultationDoctorName")
            public String getConsultationDoctorName() {
                return ConsultationDoctorName;
            }

            public void setConsultationDoctorName(String consultationDoctorName) {
                ConsultationDoctorName = consultationDoctorName;
            }

            @XmlElement(name = "ConsultationDepartmentId")
            public String getConsultationDepartmentId() {
                return ConsultationDepartmentId;
            }

            public void setConsultationDepartmentId(String consultationDepartmentId) {
                ConsultationDepartmentId = consultationDepartmentId;
            }

            @XmlElement(name = "ConsultationDepartmentName")
            public String getConsultationDepartmentName() {
                return ConsultationDepartmentName;
            }

            public void setConsultationDepartmentName(String consultationDepartmentName) {
                ConsultationDepartmentName = consultationDepartmentName;
            }

            @XmlElement(name = "ConsultationOpinion")
            public String getConsultationOpinion() {
                return ConsultationOpinion;
            }

            public void setConsultationOpinion(String consultationOpinion) {
                ConsultationOpinion = consultationOpinion;
            }

            @XmlElement(name = "ConsultationDateTime")
            public String getConsultationDateTime() {
                return ConsultationDateTime;
            }

            public void setConsultationDateTime(String consultationDateTime) {
                ConsultationDateTime = consultationDateTime;
            }
        }
    }

}
